#ifndef USER_H
#define USER_H

#include <QDialog>
#include "datebase.h"

namespace Ui {
class User;
}

class User : public QDialog
{
    Q_OBJECT

public:
    explicit User(datebase *db,int flag,QString Name,QString Type,QWidget *parent = 0);
    ~User();

private slots:
    void on_pushButton_NewUserQuit_clicked();

    void on_pushButton_NewUserAdd_clicked();

private:
    Ui::User *ui;

    datebase *pt_mydb;
    int userFlag;
};

#endif // USER_H
